# Sonar icon theme, taken from openSUSE
#

pkgname=sonar-icon-theme
pkgver=11.3.1
pkgrel=1
pkgdesc="Sonar icon theme based on the upcoming GNOME icon theme"
arch=('any')
url="http://opensuse.org/"
license=('LGPL3')
depends=('')
makedepends=('pkg-config' 'icon-naming-utils')
install=${pkgname}.install
source=(https://api.opensuse.org/public/source/openSUSE:11.4/gtk2-metatheme-sonar/icon-theme-sonar-${pkgver}.tar.bz2)
md5sums=('e5395bdbbb0a4e23adc6a22af82b3984')

build() {
	cd "${srcdir}/icon-theme-sonar-${pkgver}"

	sh configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/icon-theme-sonar-${pkgver}"
	make DESTDIR=${pkgdir} install

	#
	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
